<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script>
function display(id){
	if(id ='how' ) document.getElementById('id').innerHTML = '<img src = "anh1.jpg" />';
	else{if(id = 'what') document.getElementById('id').innerHTML = '<img src = "anh2.jpg" />';}
	}
</script>
</head>

<body>
<table width="1103" height="907" border="1">
  <tr>
    <td width="100"><input type = button onclick="display('how)'" value = "fuck">
    <input type = button onclick="display('what')" value = "you"></td>
    <td width="987"> <div id = "id"></div></td>
  </tr>
</table>
</body>
</html>
